.class public Lcom/waiqin365/lightapp/deptmanager/b/a/j;
.super Lcom/waiqin365/lightapp/deptmanager/b/c;


# direct methods
.method public constructor <init>(Ljava/lang/String;Lcom/waiqin365/lightapp/deptmanager/c/b;Lcom/waiqin365/lightapp/deptmanager/b/a/k;)V
    .locals 4

    const/4 v0, 0x2

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/deptmanager/b/c;-><init>(I)V

    const-string/jumbo v0, "/sysapp/org/client/v1/saveEmp.action"

    iput-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/b/a/j;->c:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/b/a/j;->e:Ljava/util/HashMap;

    const-string/jumbo v1, "Content-Type"

    const-string/jumbo v2, "application/x-www-form-urlencoded"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/b/a/j;->e:Ljava/util/HashMap;

    const-string/jumbo v1, "auth-code"

    invoke-virtual {v0, v1, p1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :goto_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/deptmanager/b/a/j;->d:Ljava/util/HashMap;

    const-string/jumbo v2, "saveType"

    sget-object v0, Lcom/waiqin365/lightapp/deptmanager/b/a/k;->a:Lcom/waiqin365/lightapp/deptmanager/b/a/k;

    if-ne p3, v0, :cond_0

    const-string/jumbo v0, "add"

    :goto_1
    invoke-virtual {v1, v2, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/b/a/j;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "emp.id"

    iget-object v2, p2, Lcom/waiqin365/lightapp/deptmanager/c/b;->a:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/b/a/j;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "emp.name"

    iget-object v2, p2, Lcom/waiqin365/lightapp/deptmanager/c/b;->b:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/b/a/j;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "emp.mobile"

    iget-object v2, p2, Lcom/waiqin365/lightapp/deptmanager/c/b;->d:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/b/a/j;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "emp.imsiBinding"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-boolean v3, p2, Lcom/waiqin365/lightapp/deptmanager/c/b;->s:Z

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/b/a/j;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "emp.deptId"

    iget-object v2, p2, Lcom/waiqin365/lightapp/deptmanager/c/b;->f:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/b/a/j;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "emp.superiorId"

    iget-object v2, p2, Lcom/waiqin365/lightapp/deptmanager/c/b;->h:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/b/a/j;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "emp.isLeader"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-boolean v3, p2, Lcom/waiqin365/lightapp/deptmanager/c/b;->j:Z

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/b/a/j;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "selectedProductIds"

    iget-object v2, p2, Lcom/waiqin365/lightapp/deptmanager/c/b;->k:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/b/a/j;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "selectedLocGroup"

    iget-object v2, p2, Lcom/waiqin365/lightapp/deptmanager/c/b;->m:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/b/a/j;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "selectedAttendGroup"

    iget-object v2, p2, Lcom/waiqin365/lightapp/deptmanager/c/b;->o:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/b/a/j;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "selectedRoleIds"

    iget-object v2, p2, Lcom/waiqin365/lightapp/deptmanager/c/b;->q:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/b/a/j;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "emp.countryCode"

    iget-object v2, p2, Lcom/waiqin365/lightapp/deptmanager/c/b;->t:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/deptmanager/b/a/j;->d:Ljava/util/HashMap;

    const-string/jumbo v1, "emp.extdata"

    iget-object v2, p2, Lcom/waiqin365/lightapp/deptmanager/c/b;->u:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    return-void

    :cond_0
    const-string/jumbo v0, "update"

    goto/16 :goto_1

    :catch_0
    move-exception v0

    goto/16 :goto_0
.end method
